package controller

import "github.com/gin-gonic/gin"

// UserController2 定义结构体解决同一个文件夹下的包(user.go和user1.go)含有相同的GetUserInfo方法,对应的路由改为 controller.UserController{}.GetUserInfo
type UserController2 struct {
}

func (u UserController2) GetUserInfo(c *gin.Context) {
	ReturnSuccess(c, 0, "success", "这里是区分效果的", 1)
}
